home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 376-400 / disk_381 / sksh / tinysksh.doc < prev    next >
Text File  |  1992-05-06  |  3KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                 Tiny_SKsh Description
  17.  
  18.                                         SKsh
  19.  
  20.                            A ksh-like Shell for the Amiga
  21.  
  22.                                      Version 1.6
  23.  
  24.  
  25.                                (Copyright) 1989, 1990
  26.  
  27.                                      Steve Koren
  28.  
  29.                                    October 4, 1990
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.           Introduction
  74.  
  75.             Tiny_SKsh is a version of SKsh which omits:
  76.  
  77.                * Command  line  editing  (including   all   SKsh   supplied
  78.                  features such as all three forms of  filename  completion,
  79.                  window  size  smart  horizontal   scrolling,   interactive
  80.                  history search, etc).
  81.  
  82.                * History
  83.  
  84.                * Many builtin commands
  85.  
  86.                * The ARexx port
  87.  
  88.             However, it does provide all other features of SKsh such as:
  89.  
  90.                * Control structures (if, for, case, etc)
  91.                * Tests ([ -f ram:foo ], etc)
  92.                * Piping, I/O redirection
  93.                * Aliases, shell functions
  94.                * etc.
  95.  
  96.             Tiny_SKsh will be useful to people who:
  97.  
  98.                * Wish to use an external command line editing facility.
  99.  
  100.                * Wish to replace most of the SKsh supplied functions  (such
  101.                  as 'rm' and 'mv') with their own.
  102.  
  103.             SKsh does not yet provide external equivalents to  all  builtin
  104.             commands, so tiny_SKsh will not function properly without  some
  105.             customization effort.  These external commands will  eventually
  106.             be provided as part of the SKsh package.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.           SKsh Amiga Shell             Page 2        Tiny_SKsh Description
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.           How to tell if you are using tiny_SKsh
  140.  
  141.             tiny_SKsh sets the value of a shell variable called  "SIZE"  to
  142.             "tiny".  Normal SKsh sets it to "normal".  Thus,  a  script  or
  143.             function may test for this value to determine the  shell  under
  144.             which it is being run.  For example, consider the following:
  145.  
  146.             if [ "$SIZE" = 'normal' ]
  147.             then
  148.                COMPLIST='show calc3.0 graphics: excellence!:excellence!'
  149.                complist -a $COMPLIST
  150.             fi
  151.  
  152.             In  this  case,  the  complist command will only be executed if
  153.             the script is not run under tiny_SKsh.
  154.  
  155.  
  156.           SKsh and tiny_SKsh differences
  157.  
  158.             The following builtin commands are omitted from tiny_SKsh:
  159.  
  160.                argcount       basename       cat            chmod
  161.                cilist         complist       date           dirname
  162.                extname        history        info           ls
  163.                match          mem            mkdir          mv
  164.                ps             rm             rmdir          setmap
  165.                sleep          touch          whence         which
  166.  
  167.             In addition, the following options are meaningless:
  168.  
  169.                +1, +e, +h, +C, +E, +I, +O
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.           SKsh Amiga Shell             Page 3        Tiny_SKsh Description
  196.  
  197.  
  198.  
  199.